5 // Created by David Smith on 5/9/07.
6 // Copyright 2007 __MyCompanyName__. All rights reserved.
9 #import <Cocoa/Cocoa.h>
10 #import <WebKit/WebKit.h>
11 #import <Adium/AIObject.h>
15 //This class is a workaround for a crash that occurs in 10.4.9 that we think has to do with webkit delegates being deallocated. Note that this crash is definitely not possible.
17 @
class AIWebKitMessageViewController
;
19 @interface AIWebKitDelegate
: AIObject
{
20 NSMutableDictionary
*mapping
;
23 + (AIWebKitDelegate
*)sharedWebKitDelegate
;
24 - (void) addDelegate
:(AIWebKitMessageViewController
*)controller forView
:(ESWebView
*)wv
;
25 - (void) removeDelegate
:(AIWebKitMessageViewController
*)controller
;